* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

/* Style the header */
.header {
    padding: 40px;
    text-align: center;
    background: #4e021b;

}

/* Increase the font size of the h1 element */
.header h1 {
    font-size: 40px;
    color: rgb(255, 255, 255);
}

/* Style the top navigation bar */
.navbar {
    overflow: hidden;
    background-color: #333;
}


/* Style the navigation bar links */
.navbar a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
}

/* Right-aligned link */
.navbar a.right {
    float: right;
}

/* Change color on hover */
.navbar a:hover {
    background-color: #ddd;
    color: black;
}


/* Style the top navigation bar */
.smallNavbar{
    overflow: hidden;
    background-color: rgb(92, 92, 92);
}

/* Style the navigation bar links */
.smallNavbar a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
}

/* Right-aligned link */
.smallNavbar a.right {
    float: right;
}

/* Change color on hover */
.smallNavbar a:hover {
    background-color: #ddd;
    color: black;
}

/* Column container */
.row {
    display: flex;
    flex-wrap: wrap;
}

/* Column container */
.rowPad {
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
}

.rowPadPad{
    display: flex;
    flex-wrap: wrap;
    padding: 80px;
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.side {
    flex: 30%;
    background-color: #f1f1f1;
    padding: 20px;
}

/* Main column */
.main {
    flex: 70%;
    background-color: white;
    padding: 20px;
}

.portfolioLeft
{
    flex: 50%;
    background-color: white;
    padding: 20px;
}

.portfolioRight
{
    flex: 50%;
    background-color: white;
    padding: 20px;
}

.thumbnail
{
    height: 400px;
    text-align: center;
}

/* Fake image, just for this example */
.fakeimg {
    background-color: #aaa;
    width: 100%;
    padding: 20px;
}

/* Footer */
.footer {
    padding: 20px;
    text-align: center;
    background: #ddd;
}

.text{
    padding: 40px;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    max-width:1000px;
}

.textCen{
    padding: 40px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    max-width:1000px;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
    .row {
        flex-direction: column;
    }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
    .navbar a {
        float: none;
        width: 100%;
    }
}